home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr10
/
snr503.zip
/
WS2PLAIN.S
< prev
Wrap
Text File
|
1993-05-30
|
1KB
|
43 lines
\ WS2PLAIN.S
\ put Wordstar codes to ascii, strip 8th bit from each character
\\L7
\ The following conversions handle ignoring DOT commands
\ basically, when a dot is seen at the beginning of a line,
\ any other characters after it should be ignored until end of line.
\s.=*ig \ if start of job precedes a dot command, begin global ignore
\0d\0a.=*ig \ dot command a-comin' in text; turn on global ignore
\0d\0a=\0d\0a*ix \ end of line cancels global ignore
\13*10=<i>*11 \ start italic
\13*11=<ix>*10 \ end italic
\02*20=<b>*21 \ start bold
\02*21=<bx>*20 \ end bold
\14*40=<sup>*41 \ superior
\14*41=<inf>*40 \ inferior
\1E= \ soft hyphen
\1f= \ another hyphen
\1e\0d\0a=-\0d\0a \ soft hyphen before end of line
\1f\0d\0a=-\0d\0a \ another hyphen before end of line
\04*30=<d>*31 \ start double strike
\04*31=<dx>*30 \ end double strike
\16*50=<inf>*51 \ inferior
\16*51=<sup>*50 \ superior
\0F=\20 \ required space
\0E=<^n> \ some printer codes which are undefined in ASCII
\01=<^a>
\11=<^q>
\17=<^w>
\05=<^e>
\06=<^f>
\07=<^g>
\12=<^r>
\03=<^c>
\19=<^y>
\18*50=<^x>*51
\18*51=<^X>*50
_=\20 \ underscore line